package com.qyer.lxp.model.product.normal;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * 销售项目基本信息接口输出类
 * Created by jiangping on 16/5/19.
 */
@XmlRootElement(name = "sale-item-info")
@XmlAccessorType(XmlAccessType.FIELD)
public class SaleItemInfo implements Serializable {
    private static final long serialVersionUID = 8320988815945763703L;

    /**
     * 销售项目编码
     */
    @XmlElement(name = "saleCode")
    private String saleCode;

    /**
     * 销售项目名称
     */
    @XmlElement(name = "sale-name")
    private String saleName;

    /**
     * 描述
     */
    private String desc;

    /**
     * 净价起
     */
    @XmlElement(name = "net-price-from")
    private double netPriceFrom;

    /**
     * 市场价起
     */
    @XmlElement(name = "retail-price-from")
    private double retailPriceFrom;

    public String getSaleCode() {
        return saleCode;
    }

    public void setSaleCode(String saleCode) {
        this.saleCode = saleCode;
    }

    public String getSaleName() {
        return saleName;
    }

    public void setSaleName(String saleName) {
        this.saleName = saleName;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public double getNetPriceFrom() {
        return netPriceFrom;
    }

    public void setNetPriceFrom(double netPriceFrom) {
        this.netPriceFrom = netPriceFrom;
    }

    public double getRetailPriceFrom() {
        return retailPriceFrom;
    }

    public void setRetailPriceFrom(double retailPriceFrom) {
        this.retailPriceFrom = retailPriceFrom;
    }

    @Override
    public String toString() {
        return "SaleItemInfo{" +
                "saleCode='" + saleCode + '\'' +
                ", saleName='" + saleName + '\'' +
                ", desc='" + desc + '\'' +
                ", netPriceFrom=" + netPriceFrom +
                ", retailPriceFrom=" + retailPriceFrom +
                '}';
    }
}
